package com.markerhub.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author by MaXiaofeng
 * @Description 外卖柜表操作
 * @Date 2022/2/22 21:00
 * @Version 1.0.0
 */
@Mapper
@Repository
public interface CabinetMapper {
    /**
     * 根据所有条件查询外卖柜柜号Id
     *
     * @param cabinet_province
     * @param cabinet_city
     * @param cabinet_county
     * @param cabinet_location_name
     * @param cabinet_name
     * @return
     */
    public int findCabinetIdAllCondition(@Param("cabinet_province") String cabinet_province,
                                         @Param("cabinet_city") String cabinet_city,
                                         @Param("cabinet_county") String cabinet_county,
                                         @Param("cabinet_location_name") String cabinet_location_name,
                                         @Param("cabinet_name") String cabinet_name);

}
